&lt;iframe src="<%=Embed.checkUrlProtocol(webapp.lourl,request.protocol)%>" width="<%=webapp.width%>" height="<%=webapp.height%>" objecttype="webapp" webkitAllowFullScreen="true" allowfullscreen="true" mozallowfullscreen="true"&gt;&lt;/iframe&gt;